import Home from '../pages/Home'
import Login from '../pages/Login'
import Detail from '../pages/Detail'

import Homes from '../pages/home/Homes'
import App from '../pages/home/App'
import My from '../pages/home/My'

export default [
    {
        to: "/home",
        from: "/"
    },
    {
        path: "/home",
        com: Home,
        children: [
            {
                path: "/home/homes",
                com: Homes
            },
            {
                path: "/home/app",
                com: App
            },
            {
                path: "/home/my",
                com: My,
                auth: true
            }
        ]
    },
    {
        path: "/detail",
        com: Detail
    },
    {
        path: "/login",
        com: Login
    }
]